package com.springboot.springbootlogindemo.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.springboot.springbootlogindemo.domain.User;
import com.springboot.springbootlogindemo.utils.Result;


import java.util.List;


public interface UserService extends IService<User> {

   // Result loginService(String phone, String password);//给账号密码，来查找

    Result sendCode(String phone);


    Result loginWithRegister(String phone,String code);

  //  User updatePasswordService(String uname,String newPassword);

  //  User updateUNameService(String uname,String newuname);

 //   User findPasswordService(String telephone,String newPassword);


  //  User updateAddressService(String uname,String address);


 //   boolean telephoneVerifyService(String telephone);

   // User updateImgService(String uname,String imgAddress);

  //  List<User> allUser();

 //   User getUserByTelephone(String telephone);

   // User getUserById(long Uid);

    Result getUser();


}
